import request from '@/utils/request'

// 查询主检结论对应建议列表
export function listBasemaincheckconclusionadvice(query) {
  return request({
    url: '/basic/basemaincheckconclusionadvice/list',
    method: 'get',
    params: query
  })
}

// 查询主检结论对应建议详细
export function getBasemaincheckconclusionadvice(id) {
  return request({
    url: '/basic/basemaincheckconclusionadvice/' + id,
    method: 'get'
  })
}

// 新增主检结论对应建议
export function addBasemaincheckconclusionadvice(data) {
  return request({
    url: '/basic/basemaincheckconclusionadvice',
    method: 'post',
    data: data
  })
}

// 修改主检结论对应建议
export function updateBasemaincheckconclusionadvice(data) {
  return request({
    url: '/basic/basemaincheckconclusionadvice',
    method: 'put',
    data: data
  })
}

// 删除主检结论对应建议
export function delBasemaincheckconclusionadvice(id) {
  return request({
    url: '/basic/basemaincheckconclusionadvice/' + id,
    method: 'delete'
  })
}
